extends CanvasLayer


@onready var player_type_select = $PlayerTypeSelect
@onready var new_game_button = $MenuContainer/NewGameButton
@onready var continue_game_button = $MenuContainer/ContinueGameButton
@onready var setting_game_button = $MenuContainer/SettingGameButton
@onready var exit_game_button = $MenuContainer/ExitGameButton
@onready var mask = $Mask

		
func _on_new_game_button_pressed():
	player_type_select.visible = true
	new_game_button.disabled = true
	continue_game_button.disabled = true
	setting_game_button.disabled = true
	exit_game_button.disabled = true
	mask.visible = true
	

func _on_exit_game_button_pressed():
	print("thanks,bye")
	get_tree().quit(0)
	


func _on_setting_game_button_pressed():
	pass  # Replace with function body.


func _on_continue_game_button_pressed():

	pass  # Replace with function body.


func _on_player_type_select_return_button_pressed():
	player_type_select.visible = false
	new_game_button.disabled = false
	continue_game_button.disabled = false
	setting_game_button.disabled = false
	exit_game_button.disabled = false
	mask.visible = false
